package com.block.merchant.service;

import com.block.db.entity.DataMatchOrderItem;
import com.block.db.entity.MemberSourceInfo;
import com.block.db.entity.MerchantBaseInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.block.db.entity.MerchantTaskInfo;
import com.block.merchant.model.dto.MerchantOrderDTO;
import com.block.merchant.model.dto.PushSettleDTO;
import com.block.merchant.model.result.DataPushResult;
import com.block.merchant.model.result.MatchMerchantInfo;

/**
 * <p>
 * 商户基本信息 服务类
 * </p>
 *
 * @author 
 * @since 2023-08-12
 */
public interface IMerchantBaseInfoService extends IService<MerchantBaseInfo> {

    MatchMerchantInfo matchWithMerchant(MerchantOrderDTO merchantOrderDTO, MemberSourceInfo memberSourceInfo) throws Exception;

    MatchMerchantInfo sourceCheckWithMerchant(MerchantOrderDTO merchantOrderDTO, MemberSourceInfo memberSourceInfo) throws Exception;

    DataPushResult pushToMerchant(DataMatchOrderItem dataMatchOrderItem) throws Exception;

    void handlePushToData(PushSettleDTO pushSettleDTO,MemberSourceInfo memberSourceInfo);
}
